{% extends 'task_con/base.html' %}

{% block title %}
    选择数据
{% endblock %}

{% block content %}
    <section class="shop section">
    <div class="container">
        <div class="row">
            <div class="col-lg-3 mb-4">
                <div class="account-sidebar">
                    <div class="sidebar-list">
                        <a href="dashboard.html" class="active"><i class="far fa-th-large"></i> Dashboard</a>
                        <a href="product.html"><i class="far fa-layer-group"></i> Products <span>20</span></a>
                        <a href="add-product.html"><i class="far fa-upload"></i> Add New Product</a>
                        <a href="all-order.html"><i class="far fa-shopping-bag"></i> All Orders <span>2</span></a>
                        <a href="vendor-profile.html"><i class="far fa-cog"></i> Account Settings</a>
                        <a href="#"><i class="far fa-lock"></i> Logout</a>
                    </div>
                </div>
            </div>
            <div class="col-lg-9">
                <div class="account-content bg-white pt-0">
                    <h4 class="account-content-title"><i class="far fa-layer-group"></i> 已上传数据</h4>
                    <div class="edit-profile">
                        <form action="#" method="post">
                            {% csrf_token %}
                            <table border="1">
                            <thead>
                            <tr>
                                <th>文件组</th>
                                <th>是否勾选</th>
                            </tr>
                            </thead>>
                            <tbody>
                            {% for obj in filenum %}
                                <tr>
                                    <td>文件组{{ obj }}组</td>
                                    <td>
                                        <input type="checkbox" name='data' value="{{ obj }}" >
                                    </td>
                                </tr>
                            {% endfor %}
                            </tbody>>
                        </table>>
                            <input class="btn" type="submit" value="保存选择">
                        </form>

                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

{% endblock %}